package edu.sctu.zhangwang.month201505.day20150525;

/**
 * Created by Administrator on 2015/5/25 0025.
 */
public class CheTest {
    public static void main(String[] args) {
        Truck1 truck1 = new Truck1("川A100110","货车",10,5);
//        truck1.number = "川A100110";
//        truck1.type = "货车";
//        truck1.value = 10;

        truck1.setRentPrice(1.6);
//        truck1.setRentKilometers(200);
//        truck1.rentPrice = 1.6;

        truck1.rentKilometers = 100;
        truck1.calcuRent();
        truck1.printBasicInfo();
//        truck1.printOtherIfo();
//        truck1.tonnage = 5;
        System.out.println("货车的吨位数："+truck1.getTonnage());
        truck1.setRentDay(10);
        truck1.calcuRentPrice();
        truck1.printOtherIfo();
    }

}
